module Projects::Index::WorkItemsHelper

  # 刷新阶段下面的工作项
  def remote_function_to_reload_work_items_in_stage_index(args = {})
    remote_function :update => "stage_#{args[:stage_id]}_type_#{args[:work_item_type_id]}_work_items",
      :url => work_items_url(args),
      :method => :get
  end

  def rmb(_rmb)
    number_with_precision _rmb , :precision => 1
  end

end
